<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<!-- RichFaces tag library declaration -->
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<table>
<tr>
<td><rich:messages styleClass="errorMessage" /></td>
</tr>
</table>
<br/>
<rich:panel style="height:150px;width:300px;">
	<f:facet name="header">
		<h:outputText value="Member Login" />
	</f:facet>
	<h:form>
		<table>
			<tr>
				<td><h:outputText value="Member ID:" /></td>
				<td><h:inputText size="20" value="#{loginBean.memberId}" /></td>
			</tr>
			<tr>
				<td><h:outputText value="Password:" /></td>
				<td><h:inputSecret size="20" value="#{loginBean.password}" /></td>
			</tr>
			<tr>
				<td></td>
				<td><h:commandButton value="Submit"
					action="#{loginBean.authenticate}" /></td>

			</tr>
		</table>
	</h:form>

</rich:panel>